package com.lh.createData.service.Impl;

import com.lh.createData.dao.UseTimeLenMapper;
import com.lh.createData.model.InPutParam.UseTimeLenInParam;
import com.lh.createData.service.UseTimeLenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：梁昊，后端工程师：梁昊
 * @create 2021-07-27 17:48
 * @function
 * @editLog
 */
@SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
@Service
public class UseTimeLenServiceImpl implements UseTimeLenService {
    @Autowired
    UseTimeLenMapper useTimeLenMapper;

    /**
     * 增加界面跳转暂时表
     *
     * @param useTimeLenInParam com.lh.createData.model.InPutParam.UseTimeLenInParam
     * @return 影响条数
     */
    @Override
    public int deleteUseTimeLenByCreateAndProject (UseTimeLenInParam useTimeLenInParam) {
        return useTimeLenMapper.deleteUseTimeLenByCreateAndProject(useTimeLenInParam);
    }

    /**
     * 增加界面跳转暂时表
     *
     * @param useTimeLenInParam com.lh.createData.model.InPutParam.UseTimeLenInParam
     * @return 影响条数
     */
    @Override
    public int insertUseTimeLen (UseTimeLenInParam useTimeLenInParam) {
        return useTimeLenMapper.insertUseTimeLen(useTimeLenInParam);
    }

}